package com.donghua.dao;

import com.donghua.entity.DiscussPostTag;
import com.donghua.entity.Tag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Cai Lideng
 * @date 2022年04月22日 下午2:54
 * @description
 */
@Mapper
public interface DiscussPostTagMapper {

    int insertDiscussPostTag(DiscussPostTag discussPostTag);

    List<String> selectTagsByDiscussPostId(int postId);

    List<Integer> selectHotPostId(int tagId, int offset, int limit);

}
